<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GrPPI: farm.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">0.2</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_b519bdaee6a7f8dbbe55c1237cf8f544.html">native</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">native/farm.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="parallel__execution__native_8h_source.html">parallel_execution_native.h</a>&quot;</code><br />
<code>#include &lt;thread&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;experimental/optional&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for native/farm.h:</div>
<div class="dyncontent">
<div class="center"><img src="native_2farm_8h__incl.png" border="0" usemap="#farm_8h" alt=""/></div>
<map name="farm_8h" id="farm_8h">
<area shape="rect" id="node2" href="parallel__execution__native_8h.html" title="parallel_execution\l_native.h" alt="" coords="497,80,623,121"/>
<area shape="rect" id="node3" href="mpmc__queue_8h.html" title="../common/mpmc_queue.h" alt="" coords="197,169,374,196"/>
<area shape="rect" id="node9" href="pool_8h.html" title="pool.h" alt="" coords="486,169,543,196"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="native_2farm_8h__dep__incl.png" border="0" usemap="#farm_8hdep" alt=""/></div>
<map name="farm_8hdep" id="farm_8hdep">
<area shape="rect" id="node2" href="farm_8h.html" title="farm.h" alt="" coords="7,80,65,107"/>
<area shape="rect" id="node3" href="grppi_8h.html" title="grppi.h" alt="" coords="5,155,67,181"/>
</map>
</div>
</div>
<p><a href="native_2farm_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacegrppi"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegrppi.html">grppi</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0b65fab8b478d7403f32be8a6d2e17ba"><td class="memTemplParams" colspan="2">template&lt;typename Generator , typename Consumer &gt; </td></tr>
<tr class="memitem:ga0b65fab8b478d7403f32be8a6d2e17ba"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__farm__pattern__native.html#ga0b65fab8b478d7403f32be8a6d2e17ba">grppi::farm</a> (parallel_execution_native &amp;ex, Generator generate_op, Consumer consume_op)</td></tr>
<tr class="memdesc:ga0b65fab8b478d7403f32be8a6d2e17ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_farm.html">Farm pattern</a> on a data stream with native parallel execution with a generator and a consumer.  <a href="group__farm__pattern__native.html#ga0b65fab8b478d7403f32be8a6d2e17ba">More...</a><br /></td></tr>
<tr class="separator:ga0b65fab8b478d7403f32be8a6d2e17ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6924f3908c815671b9a237132ea656df"><td class="memTemplParams" colspan="2">template&lt;typename Generator , typename Transformer , typename Consumer &gt; </td></tr>
<tr class="memitem:ga6924f3908c815671b9a237132ea656df"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__farm__pattern__native.html#ga6924f3908c815671b9a237132ea656df">grppi::farm</a> (parallel_execution_native &amp;ex, Generator generate_op, Transformer transform_op, Consumer consume_op)</td></tr>
<tr class="memdesc:ga6924f3908c815671b9a237132ea656df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoke <a class="el" href="md_farm.html">Farm pattern</a> on a data stream with native parallel execution with a generator and a consumer.  <a href="group__farm__pattern__native.html#ga6924f3908c815671b9a237132ea656df">More...</a><br /></td></tr>
<tr class="separator:ga6924f3908c815671b9a237132ea656df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
